CREATE TABLE [dbo].[TTDOID_SUNA]
(
[TI_DOID_SUNA] [dbo].[TD_VC_002] NOT NULL,
[DE_DOID_SUNA] [dbo].[TD_VC_050] NULL,
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTDOID_SU__FE_US__220B0B18] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTDOID_SU__CO_US__22FF2F51] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTDOID_SU__FE_US__23F3538A] DEFAULT (getdate()),
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTDOID_SU__CO_US__24E777C3] DEFAULT (substring(suser_sname(),(1),(8)))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTDOID_SUNA] ADD CONSTRAINT [PK__TTDOID_S__CA4589C5505BE5AD] PRIMARY KEY CLUSTERED  ([TI_DOID_SUNA]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TTDOID_SUNA] TO [public]
GRANT INSERT ON  [dbo].[TTDOID_SUNA] TO [public]
GRANT DELETE ON  [dbo].[TTDOID_SUNA] TO [public]
GRANT UPDATE ON  [dbo].[TTDOID_SUNA] TO [public]
GO
